package Source;

/**
 *
 * @author Joshua King
 */
public class CreateAirport {
    private String APLocation;
    private String APName;
    private String APTax;

    public boolean checkValidity() {
        if (APLocation.equals("") || APName.equals("") || APTax.equals("")) {
            return false;
        }
        return true;
    }

    public boolean commitData() {
        //Do something like commit data.  Sam, write this stuff for me.
        return true;
    }

    public void setAPLocation(String text) {
        APLocation = text;
    }

    public void setAPName(String text) {
        APName = text;
    }

    public void setAPTax(String text) {
        APTax = text;
    }
}
